package cn.kgc.springcloudalibaba.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: mosin
 * @version: v1.0  2023/1/9
 */
@FeignClient("ORDERS")
public interface OrderClient {

    @RequestMapping("/order/m1")
     String method1();

    @RequestMapping("/order/m2")
    String method2(@RequestParam("id") Integer id);
}
